const {resolve} = require('path')

module.exports = {
    entry:resolve(__dirname,'./11-11-src1-todolist_02-todolist终极版/main.js'),
    output:{
        path:resolve(__dirname,'./dist'),
        filename:'./11-11-src1-todolist_02-todolist终极版/main.js',
        clean:true
    },
    mode:'development',
    module:{
        rules:[
            {
                test:/\.js$/,
                exclude:/node_modules/,
                loader:'eslint-loader'
            }
        ]
    }
}